package com.kaikeba.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    /* index默认页自动跳转到登录页面 */
    @RequestMapping("/loginpage")
    public String toLoginPage(){
        return "login";
    }


    @RequestMapping("addpage")
    public String addpage(){
        return "add";
    }
}
